package cn.stylefeng.guns.modular.business.frequency.orderstock.service;

import cn.stylefeng.guns.core.pojo.page.PageResult;
import cn.stylefeng.guns.modular.business.frequency.orderstock.entity.OrderStock;
import cn.stylefeng.guns.modular.business.frequency.orderstock.model.param.OrderStockParam;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 入库(验车操作记录) 服务类
 *
 * @author yujie
 * @date 2023/05/09 17:16
 */
public interface OrderStockService extends IService<OrderStock> {

    /**
     * 分页查询入库(验车操作记录)
     *
     * @author yujie
     * @date 2023/05/09 17:16
     */
    PageResult<OrderStock> page(OrderStockParam orderStockParam);

    /**
     * 查询所有入库(验车操作记录)
     *
     * @author yujie
     * @date 2023/05/09 17:16
     */
    List<OrderStock> list(OrderStockParam orderStockParam);

    /**
     * 添加入库(验车操作记录)
     *
     * @author yujie
     * @date 2023/05/09 17:16
     */
    void add(OrderStockParam orderStockParam);

    /**
     * 删除入库(验车操作记录)
     *
     * @author yujie
     * @date 2023/05/09 17:16
     */
    void delete(OrderStockParam orderStockParam);

    /**
     * 编辑入库(验车操作记录)
     *
     * @author yujie
     * @date 2023/05/09 17:16
     */
    void edit(OrderStockParam orderStockParam);

    /**
     * 查看详情入库(验车操作记录)
     *
     * @author yujie
     * @date 2023/05/09 17:16
     */
    OrderStock detail(OrderStockParam orderStockParam);

}